﻿using SH.Common.DataDictionary;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SH.Multitenant.Domain.RBAC
{
    public class Role_Permission : Tenant
    {
        /// <summary>
        /// 角色权限ID
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int RPId { get; set; }

        /// <summary>
        /// 角色ID
        /// </summary>
        
        public int RoleId { get; set; }

        /// <summary>
        /// 权限ID
        /// </summary>
        
        public string PId { get; set; }
    }
}
